package com.ruoyi.app.service.impl;


import com.ruoyi.app.domain.Rechargerecord;
import com.ruoyi.app.mapper.RechargerecordMapper;
import com.ruoyi.app.service.RechargerecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 75460
* @description 针对表【rechargeRecord】的数据库操作Service实现
* @createDate 2025-05-21 08:39:55
*/
@Service
public class RechargerecordServiceImpl implements RechargerecordService {
    @Autowired
    private RechargerecordMapper rechargerecordMapper;
    @Override
    public void Addrecharge(Rechargerecord rechargerecord) {
        rechargerecordMapper.Addrecharge(rechargerecord);
    }

    @Override
    public List<Rechargerecord> Getrecharge(Integer patientId) {
        return rechargerecordMapper.Getrecharge(patientId);
    }
}




